package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

/**
 * 场所实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Site")
public class Site extends BaseModel {
    @PrimaryKey
    @Field("SiteCode")
    private String siteCode;
    @Field("SiteName")
    private String siteName;
    @Field("StreetCode")
    private String streetCode;
    @Field("StreetName")
    private String streetName;
    @Field("ReligionCode")
    private String religionCode;
    @Field("ReligionName")
    private String religionName;
    @Field("VillageName")
    private String villageName;
    @Field("VillageCode")
    private String villageCode;
    @Field("X")
    private String x;//经度
    @Field("Y")
    private String y;//纬度
    @Field("CreateTime")
    private LocalDateTime CreateTime;
}
